package com.jishuo.nontax.bean.vo;

import com.jishuo.nontax.bean.message.SetKeyWordDTO;
import lombok.Data;
import org.simpleframework.xml.Element;

import java.io.Serializable;
import java.util.Date;



/**
 * 字轨维护
 * 
 * @author hlp
 * @email 1459875748@qq.com
 * @date 2023-02-02 10:13:13
 */
@Data
public class KeyWordVO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//唯一标识号
	private Long itemid;
	//字轨编码
	private String itemcode;
	//字轨名称
	private String itemname;
	//票据种类编码
	private Long billtypeid;
	//是否可用
	private Integer isenable;
	//操作时间
	private String writetime;

	public KeyWordVO(){}

	public KeyWordVO(SetKeyWordDTO bean){
	    if(bean.getItemid()!=null){
            this.itemid=Long.valueOf(bean.getItemid());
        }
        if(bean.getBilltypeid()!=null){
            this.billtypeid=Long.valueOf(bean.getBilltypeid());
        }
        this.itemcode = bean.getItemcode();
        this.itemname=bean.getItemname();
    }

}
